package com.ssy.lingxi.enhance.constant;

/**
 * 角色类型 - enum
 * @author fhj
 * @date 2020/10/21
 * @version 2.0.0
 */
public enum RoleTypeEnum {

    SUPPLIER(1, "供应商"),
    PROCESS(2, "加工企业"),
    PLATFORM(3, "平台");

    private final Integer code;
    private final String message;

    RoleTypeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
